import { defineStore } from "pinia";
import type { lBloggerres } from "@/views/video/type";
export const useVideoPlayStore = defineStore({
  id: 'videoplay',
  state: () => ({
    archiveslist: {
      pic: "",
      owner: {
        name: ''
      },

      stat: {
        favorite: 0,
        like: 0,
        view: 0,
        danmaku: 0
      },
      title: ''
    },
    Bloggerres: {
      Card: {
        card: {
          face: '',
          fans: 0
        }
      },
      Related: [{
        aid: 0,
        bvid: '',
        cid: 0,
        copyright: 0,
        ctime: 0,
        desc: '',
        dimension: {},
        duration: 0,
        dynamic: '',
        first_frame: '',
        is_ogv: false,
        mission_id: 0,
        ogv_info: null,
        owner: {},
        pic: '',
        pub_location: '',
        pubdate: 0,
        rcmd_reason: '',
        rights: {},
        season_id: 0,
        season_type: 0,
        short_link: '',
        short_link_v2: '',
        stat: {
          favorite: 0,
          like: 0,
          view: 0,
          danmaku: 0
        },
        state: 0,
        tid: 0,
        title: '',
        tname: '',
        videos: 0,
      }],
      Reply: {},
      Spec: null,
      Tags: [],
      View: {},
      elec: null,
      hot_share: {},
      recommend: null,
      view_addit: {}
    }

  }),
  persist: {
    enabled: true,
  },
})